<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Home extends CI_Controller {

	public function index()
	{
            if ($this->session->userdata('is_logged') == 1)
                redirect('/dashboard/','refresh');
            $this->layout->setLayout('home');
            $this->layout->view('home/index');
	}
}
